package com.sunyard.manage.controller;

import com.sunyard.manage.service.NonWorkTimeWarningService;
import io.swagger.annotations.Api;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
@RequestMapping(value = "/nonWorkTimeWarning", method = RequestMethod.POST)
@Api(tags = "NonWorkTimeWarningController", description = "非工作时间预警")
public class NonWorkTimeWarningController {

    @Autowired
    NonWorkTimeWarningService nonWorkTimeWarningService;

    /**
     * @Description: PC端管理平台预警统计-非工作时间预警日志查询
     * @author wxl
     * @date 2022年7月1日
     */
    /*@ResponseBody
    @ApiOperation("非工作时间预警查询")
    @RequestMapping(value = "/queryByPage", method = RequestMethod.POST)
    public BaseResult<DataGrid<OperatorLog>> queryByPage(@RequestBody PaginationBO<NonWorkTimeQueryBo> queryBO) {
        try {
            return nonWorkTimeWarningService.queryByPage(queryBO);
        } catch (Exception e) {
            log.error(ErrMessageConst.SYSTEM_ERROR, e);
            return GetResult.getResultErr();
        }
    }*/

}
